package Operator;

import Book.*;

public class ShowOperator implements IOPerator{

    @Override
    public void work(BookList bookList) {
        System.out.println("显示图书");
        int bookcount = bookList.getListsize();
        for (int i = 0; i < bookcount; i++) {
            Book book = bookList.get_book(i);
            System.out.println(book);
        }
    }
}
